package cn.sofwin.web.blog.servlet;

import cn.sofwin.web.blog.service.AdminService;
import cn.sofwin.web.blog.service.impl.AdminServiceImpl;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * 管理员退出Servlet
 * @author ZX
 * @version 1.0
 */
@WebServlet("/blog/admin/remove")
public class AdminRemoveServlet extends HttpServlet {

    /** 管理员服务接口 */
    private AdminService adminService = AdminServiceImpl.getInstance();

    @Override
    protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {

    }

    @Override
    protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
        this.doGet(req,resp);
    }
}
